Skip to content

Set GUC "is_superuser" in all processes that set AuthenticatedUserId.#1631

Open
reshke wants to merge 2 commits intoapache:mainfrom
reshke:cp_ecd5d24_security
Open

Set GUC "is_superuser" in all processes that set AuthenticatedUserId.#1631
reshke wants to merge 2 commits intoapache:mainfrom
reshke:cp_ecd5d24_security

Conversation

@reshke
Copy link
Contributor

@reshke reshke commented Mar 21, 2026

It was always false in single-user mode, in autovacuum workers, and in background workers. This had no specifically-identified security consequences, but non-core code or future work might make it security-relevant. Back-patch to v11 (all supported versions).

Jelte Fennema-Nio. Reported by Jelte Fennema-Nio.

=======
In cloudberry, cherry-picked from ecd5d240c59

It was always false in single-user mode, in autovacuum workers, and in
background workers.  This had no specifically-identified security
consequences, but non-core code or future work might make it
security-relevant.  Back-patch to v11 (all supported versions).

Jelte Fennema-Nio.  Reported by Jelte Fennema-Nio.
@reshke
Copy link
Contributor Author

reshke commented Mar 23, 2026

Cherry-picked for future-proofing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants